﻿@using Morgma.Infographics.Extensions;
@using Morgma.Infographics.ViewModels;
@using System.Web.Mvc;

@{
    var qrcodeParams = (QRCodeViewModel)Model.viewModel;    
}

<ul class="pageStatus">
    <li>
        <img alt="@T("QR Code")" src="@(qrcodeParams.ApiUrl)?cht=qr&chs=@(qrcodeParams.ImageHeight)x@(qrcodeParams.ImageWidth)&chl=@(Url.Encode(qrcodeParams.TargetUrl))&chld=@(qrcodeParams.ErrorCorrection)|@(qrcodeParams.Margin)" /> 
    </li>
</ul>